import request from '@/utils/request'

// 查询岗位列表
export function listFitnessPlanActionCount(data) {
  return request({
    url: '/plan/getFitnessPlanActionCount',
    method: 'get',
    params: data

  })
}
export function listFitnessType(data) {
  return request({
    url: '/plan/getFitnessTypes',
    method: 'get',
    params: data

  })
}
export function addFitnessPlanAction(data) {
    return request({
      url: '/plan/addFitnessPlanAction',
      method: 'post',
      data: data
    })
  }

export function updateFitnessPlanAction(data) {
    return request({
      url: '/plan/updateFitnessPlanAction',
      method: 'put',
      data: data
    })
}
export function deleteFitnessPlanActionCount(data) {
    return request({
      url: '/plan/deleteFitnessPlanActionCount',
      method: 'delete',
      data: data
    })
}